object ForMulti {
def main(args: Array[String]): Unit = {
  for (i <-1 to 3;j <-1 to 3) {
    println("i ="+i + "\tj = ")
  }
}
  println("---------------------------")
  //上面的写法也可以写成;
  for (i <-1 to 3){
    for (j <-1 to 3){
      println("i="+i +"\tj="+j)
    }
  }
}
